package cn.itsource.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;

@Data //K-key,V-value,T-Type,E-Element
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<T> {
    //总数量：用于前端计算分页栏
    private Integer totals;
    //当前页的分页数据
    private List<T> list;
}
